<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
<script type="text/javascript">
  jQuery(document).ready(function(){
    jQuery('a').click(function(){
      alert("I am clicked on a tag");
    });
  });
</script>

<a href="#">Click Here</a>